package org.jeecg.modules.mp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 微信消息模板
 * @Author: jeecg-boot
 * @Date:   2022-04-12
 * @Version: V1.0
 */
@Data
@TableName("jw_web_msg_template")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="jw_web_msg_template对象", description="微信消息模板")
public class JwMsgTemplate implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
	/**模板ID*/
	@Excel(name = "模板ID", width = 15)
    @ApiModelProperty(value = "模板ID")
    private java.lang.String templateId;
	/**模板编码*/
    @Excel(name = "模板编码", width = 15, dicCode = "jw_template_type")
    @Dict(dicCode = "jw_template_type")
    @ApiModelProperty(value = "模板编码")
    private java.lang.String templateIdShort;
	/**模板标题*/
	@Excel(name = "模板标题", width = 15)
    @ApiModelProperty(value = "模板标题")
    private java.lang.String title;
	/**模板内容*/
	@Excel(name = "模板内容", width = 15)
    @ApiModelProperty(value = "模板内容")
    private java.lang.String content;
	/**一级行业*/
	@Excel(name = "一级行业", width = 15)
    @ApiModelProperty(value = "一级行业")
    private java.lang.String primaryIndustry;
	/**二级行业*/
	@Excel(name = "二级行业", width = 15)
    @ApiModelProperty(value = "二级行业")
    private java.lang.String deputyIndustry;
	/**示例*/
	@Excel(name = "示例", width = 15)
    @ApiModelProperty(value = "示例")
    private java.lang.String example;
	/**原始id*/
	@Excel(name = "原始id", width = 15, dictTable = "jw_web_jwid", dicText = "jwid", dicCode = "id")
	@Dict(dictTable = "jw_web_jwid", dicText = "jwid", dicCode = "id")
    @ApiModelProperty(value = "原始id")
    private java.lang.String jwid;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**租户*/
	@Excel(name = "租户", width = 15)
    @ApiModelProperty(value = "租户")
    private java.lang.Integer tenantId;
}
